/* 头部样式 */

header {
    background-color: #F9F9F9;
    border-bottom: 1px solid #F3F3F3;
}

.header-left {
    height: 36px;
    line-height: 36px;
}

.header-right {
    height: 36px;
    line-height: 36px;
}

.header-right>li {
    float: left;
    padding: 0 5px;
    height: 34px;
    line-height: 34px;
    margin-top: 1px;
}

.header-right>li:nth-of-type(even) {
    width: 1px;
    height: 12px;
    background-color: #e7e7e7;
    margin: 12px 0;
    padding: 0;
}

.header-right>li a {
    color: #404040;
}

.header-right>li i.shop {
    float: left;
    width: 17px;
    height: 15px;
    margin-top: 9px;
    margin-right: 5px;
    background: url(../当当网/img/home_sprite.png) -39px -86px no-repeat;
}

.header-right>li i.phone {
    float: left;
    width: 13px;
    height: 18px;
    margin-top: 7px;
    margin-right: 5px;
    background: url(../当当网/img/home_sprite.png) -38px -68px no-repeat;
}

.header-right>li i.idown {
    float: right;
    width: 18px;
    height: 13px;
    margin-top: 6px;
    margin-left: 8px;
    background: url(../当当网/img/home_sprite.png)right -307px no-repeat;
    margin-right: -5px;
}


/* nav样式 */

nav {
    height: 36px;
    line-height: 36px;
    background: #ff2832;
    color: #fff;
}

.nav-show {
    margin-left: 30px;
}

.nav-show li {
    float: left;
    margin: 0 15px;
    font-size: 14px;
    font-weight: 600;
    /* border-width: 0 2px; */
    /* margin-right: 18px; */
}

.nav-show li:hover {
    cursor: pointer;
}

.nav-show li:nth-of-type(1) {
    width: 100px;
}

.nav-show li:nth-of-type(2) {
    width: 15px;
    height: 15px;
    margin-top: 8px;
    background: url(./img/home_sprite.png) left bottom no-repeat;
}


/* section样式 */

section {
    margin-top: 20px;
}

.tushu {
    border: 1px #487a6f solid;
    width: 190px;
    margin-right: 15px;
    margin-left: 20px;
    /* height: 100px; */
}

.tushu h2 {
    color: #fff;
    background-color: #487a6f;
    text-align: center;
    font-size: 18px;
    height: 35px;
    line-height: 35px;
    /* border-bottom: 2px #487a6f dotted; */
}

.tushu hr {
    border-bottom: 2px #487a6f dotted;
}

.tushu li {
    margin: 0 10px;
    border-bottom: 1px #487a6f dotted;
}

.tushu li:last-child {
    border-bottom: none;
}

.sec-litop a {
    font-size: 1.17em;
    color: #487a6f;
    font-weight: bold;
}

.sec-litop a:hover {
    color: #FA5000;
}

.sec-litop {
    margin: 10px 0;
}

.sec-bottom {
    color: #666;
    margin-bottom: 5px;
}

.sec-bottom a {
    font-size: 12px;
    line-height: 20px;
}

.sec-middle {
    width: 750px;
}

.sec-mtop {
    position: relative;
}

.dingwei {
    position: absolute;
    bottom: 15px;
    left: 580px;
    display: flex;
    justify-content: center;
}

.dingwei li {
    width: 21px;
    height: 21px;
    border-radius: 10px;
    background-color: #fff;
    text-align: center;
    line-height: 21px;
    font-size: 14px;
    margin: 0 5px;
}

.dingwei li:first-child {
    background-color: #FA5000;
    color: #FFF;
}

.sec-mfoot ul>li {
    margin: 15px;
    float: left;
}

.sec-mfoot ul>li:first-child {
    position: relative;
}

.new {
    position: absolute;
    top: 0;
    right: 0;
}

.sec-mfoot ul>li>p {
    margin-left: 30px;
}

.book-name {
    font-size: 12px;
    height: 36px;
    line-height: 1.6;
}

.name {
    color: #ccc;
}

.price {
    font-weight: bold;
    font-size: 14px;
    margin-top: 3px;
}

.new-price {
    color: #ff2832;
}

.old-price {
    color: #ccc;
    text-decoration: line-through;
}

.sec-foot {
    margin-left: 15px;
    width: 240px;
    /* height: 100px; */
    /* background-color: pink; */
}

.common {
    border: 1px #eaeaea solid;
    padding-bottom: 5px;
}

.common h2 {
    font-size: 16px;
    padding: 8px 10px 5px;
    color: #000;
    line-height: 16px;
}

.common ul {
    padding: 0 10px;
}

.common ul li {
    padding-left: 8px;
    line-height: 22px;
    background: url(../当当网/img/sprite.png) no-repeat -16px -160px;
}

.common ul li:hover a {
    text-decoration: underline;
}

.new-book {
    margin-top: 10px;
    border: 1px #eaeaea solid;
    padding-bottom: 5px;
    position: relative;
}

.new-book h2 {
    display: block;
    font-size: 1.5em;
    margin: 5px;
}

.new-book h2 a {
    float: right;
    color: #5097bc;
    font-size: 12px;
    font-weight: normal;
}

.slid-box {
    margin-top: 15px;
    width: 100%;
}

.book-info {
    width: 100px;
}

.book-name {
    line-height: 18px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.book-name:hover {
    color: #ff2832;
    text-decoration: underline;
}

.now-price {
    font-size: 15px;
    color: #c30000;
    font-weight: 600;
}

.page-box {
    position: absolute;
    bottom: 10px;
    right: 30%;
    /* width: 50px;
    height: 50px;
    background-color: pink; */
}

.page-box li {
    float: left;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: #b4b4b4;
    margin: 0 5px;
}

.page-box .on {
    background: #316386;
}

.page-left {
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -25px;
    width: 25px;
    height: 50px;
    background: url(../当当网/img/book_fanye_btn.png) no-repeat;
}

.page-left:hover {
    background-position: 0 -50px;
}

.page-right:hover {
    background-position: -26px -50px;
}

.page-right {
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -25px;
    width: 25px;
    height: 50px;
    background: url(../当当网/img/book_fanye_btn.png) no-repeat;
    background-position: -26px 0;
}

.foot-nav h2 {
    font-size: 16px;
    color: #000;
    padding-left: 34px;
    margin-top: 10px;
    height: 40px;
    line-height: 40px;
    background: url(../当当网/img/sprite.png) no-repeat 5px 4px;
}

.foot-nav1 {
    width: 236px;
    border: 1px #eaeaea solid;
}

.fottop {
    display: flex;
    justify-content: left;
    width: 100%;
}

.fottop>div {
    width: 20%;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-right: 1px #eaeaea solid;
    border-bottom: 1px solid #eaeaea;
}

.fottop>div:first-child {
    border-bottom: 0 none;
}

.fottop>div:last-child {
    border-right: 0 none;
}

.foot-nav1>ul>li .biaoti {
    font-size: 16px;
    margin-right: 10px;
}

.foot-nav1>ul>li:first-child {
    padding: 0;
}

.foot-nav1>ul>li {
    margin: 10px;
    float: none;
    border-bottom: 1px solid #eaeaea;
    padding: 5px 0;
}

.foot-nav1>ul>li>span {
    margin-left: 10px;
    font-style: 14px;
    line-height: 20px;
}

.change-color {
    color: #d10000;
}

.bangdan {
    color: #5097bc;
    margin: 15px;
}

footer hr {
    margin-top: 50px;
    color: #d7d7d7;
}

.foot-link {
    text-align: center;
    margin: 20px 0;
}

.foot-link span {
    margin: 0 10px;
}

.foot-link a,
span {
    color: #8c8c8c;
    font-size: 12px;
}

.copy {
    color: #8c8c8c;
    font-size: 12px;
    text-align: center;
}